package cn.edu.cimv.service;

import cn.edu.cimv.dao.entity.Direction;
import cn.edu.cimv.dao.entity.Option;

import java.util.List;

/**
 * Created by 门铎 on 2016/11/24.
 */
public interface OptionService {
    List<Option> queryTitles(String cataType);
    void insertOption(Option option);
    void updateOption(Option option);
    void deleteOption(int id);
    Option queryTitlesById(int id);

    List<Direction> queryDirections();
    void insertDirection(Direction direction);
    void updateDirection(Direction direction);
    void deleteDirection(int id);
    Direction queryDirectionsById(int id);


}
